<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="style/geral.css" rel="stylesheet" type="text/css" />
<title>Lista de alunos</title>
</head>
<body>
	<div class="page">
	<div class="little">
			<img src="imagens/logo2.png">
	</div>
		<div class="form" id="menu">
		
			<form action="listar" method="POST">
				<label>Matrícula: <br /><input name="matricula" size="40" type="text"  /></label><br />
				<label>Nome: <br /><input name="nome" size="40" type="text" /></label><br />
				<input type="submit" value="Buscar" /><br />
				<a href="admins.jsp">Voltar</a>
			</form>
			<table border="1" >
			<tr>
				<th>Matricula</th>
				<th>Nome</th>
				<th>Habilidades</th>
			</tr>
				<c:forEach items="${alunos}" var="alunos">
					<tr>
						<td>${alunos.matricula}</td>
						<td>${alunos.nome}</td>
						<td>${alunos.habilidades}</td>
					</tr>
				</c:forEach>
			</table>
			
		</div>
		
		<div class="bottom">
					Proex™<br />
			Pericles/Thomaz/Elomar
		</div>
	</div>
</body>
</html>